Add GdkDrawingContext
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 30 May 2016 08:44:30 +0000 (09:44 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 9 Jun 2016 16:45:40 +0000 (17:45 +0100)
commita7ef37da2af0ef5b51b1320476970827a2fdb350
treeb85102fce82e205062b824743538a0573963dfa6
parent2c7b21718f18ab743cd79784ae28cad582f58503
Add GdkDrawingContext

Instead of giving out Cairo contexts, GdkWindow should provide a
"drawing context", which can then create Cairo contexts on demand; this
allows us to future proof the API for when we're going to use a
different rendering pipeline, like OpenGL.

https://bugzilla.gnome.org/show_bug.cgi?id=766675
gdk/Makefile.am
gdk/gdk.h
gdk/gdkdrawingcontext.c [new file with mode: 0644]
gdk/gdkdrawingcontext.h [new file with mode: 0644]
gdk/gdkdrawingcontextprivate.h [new file with mode: 0644]
gdk/gdkinternals.h
gdk/gdkwindow.c
gdk/gdkwindow.h
gdk/gdkwindowimpl.h
gtk/gtkwidget.c